//
//  GSCommonLoginVerifyCodeLabel.m
//  GSLoginDemo
//
//  Created by guoshikeji_a on 2018/7/30.
//  Copyright © 2018年 guoshikeji. All rights reserved.
//

#import "GSCommonLoginVerifyCodeLabel.h"

#import "GSCommonLoginPrefixProfile.h"

@interface GSCommonLoginVerifyCodeLabel ()

@property (nonatomic, strong) UIView *bottomLine;

@end

@implementation GSCommonLoginVerifyCodeLabel

- (UIView *)bottomLine {
    if (!_bottomLine) {
        _bottomLine = [UIView new];
        _bottomLine.backgroundColor = GSLOGINRGBRGBHEX(0xDDDCDC);
    }
    return _bottomLine;
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.textColor = GSLOGIN_THEME_COLOR;
        self.font = [UIFont systemFontOfSize:40 weight:UIFontWeightRegular];
        [self addSubview:self.bottomLine];
        [self.bottomLine mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.bottom.right.mas_equalTo(self);
            make.height.mas_equalTo(1.0);
        }];
    }
    return self;
}

@end
